package com.project.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("doctor_appointment")
public class DoctorAppointment {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long doctorId;
    private Long patientId;
    private LocalDateTime appointmentTime;
    private Integer duration;
    private Integer status;
    private Integer consultationType;
    private String symptoms;
    private String diagnosis;
    private String prescription;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String patientName;
}
